package com.xywl.escort.view.farm;

import com.xywl.escort.base.BasePresenter;
import com.xywl.escort.base.BaseView;
import com.xywl.escort.bean.BannerResp;
import com.xywl.escort.bean.ProjectListResp;

public class FarmContract {

    interface Presenter extends BasePresenter {
        void takeView(FarmContract.View view);

        void loadBanner();

        void loadProject(int pageNum);
    }

    interface View extends BaseView<Presenter> {

        void loadBannerSuccess(BannerResp resp);

        void loadBannerFailure();

        void loadProjectSuccess(ProjectListResp.DataBean dataBean);

        void loadProjectFailure();
    }
}
